#ifndef UNITFORM_H
#define UNITFORM_H

#include <QWidget>
#include <QLabel>

namespace Ui {
class UnitForm;
}

class UnitForm : public QWidget
{
    Q_OBJECT

public:
    explicit UnitForm(QWidget *parent = 0);
    ~UnitForm();
    QLabel *unitBattry[16];

    void UnitInit(int unitID);
    void setUnitStat(int ID, bool status);
    int UnitID;

signals:
    void OpenSet(int unitID);

private slots:
    void on_pushButton_clicked();

private:
    Ui::UnitForm *ui;
};

#endif // UNITFORM_H
